<?php
/**
 * 报名费设置类
 * @author 肖小平
 *
 */

class EnrollCostAction extends BaseAction{
	public function enroll_cost(){
		if($_POST){
			M('Cost')->save($_POST);
			$this->success('设置成功');
			exit;
		}
		$obj = M('Cost')->where('id=1')->find();
		$this->assign('obj',$obj);
		$this->display();
	}
}

?>